made it so only the close button hides