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

fix "Save" button always disabled after "Cancel"
Merge pull request #1872 from darkdarkdragon/develop-RT-2773

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