Task update form actions and angularjs modal form