Fixed bug in positioning of the premise's close button