dispose after event handlers have been turned off