used save button overload instead of AJS event handler