disabling delete event button