closing events for frames override