[#18] Adding exit event