var constructionValues = $('<h2>W budowie</h2>');

function constructionButtonClicked() {
  BootstrapDialog.alert({
    size: BootstrapDialog.SIZE_SMALL,
    type: BootstrapDialog.TYPE_PRIMARY,
    title: 'Serwis znajdzWC.pl jest w budowie',
    message: constructionValues
  });
}

$('.construction-button').on('click', function () {
    constructionButtonClicked();
});