removing redundant styles
added z-order administration
tests for close button, focus and z-ordering