Close modal after select