Contact editor: fix cancel and reset buttons