added x button on top left corner