Clear modal on close