Fixed minor bug in AddGatewayCtrl

Check GIF below. It's self-explanatory.

![out](https://cloud.githubusercontent.com/assets/464938/4278107/f1ef28a0-3d14-11e4-9413-d30f78309c9a.gif)