Disabling and re-enabling event handlers on pop.