Added submit and cancel callbacks to form-directive, added misc comments