Added exit modal for accidental clicking