Fixed modals pushing the page down

Fixed an issue where the modal dialogs were pushing the applicationHost
down when opened. Added display none/block to modalHost on show/hide
alongside opacity.