MDL-42531 assign: handle 'Cancel' buttons on batch assign/state forms