Added close button and close action