Record editor: fix cancel button not working