Added display style element to better hide modal.
Added modal dismiss attribute.