[FIX] fix add gateway form (RT-2773)

fix "Save" button always disabled after "Cancel"