tweaked stylesheet to keep rotate and close buttons on the modal