Extract unsubmit handler