ng-click using cancelButtonClick and switch to ButtonsController to close modal