Remove modal on close