#beforeclose