Try to close modal