Close modal on backround click