allow overriding resource save button