Adding lightbox effect and centralising dialogs