Added logic to customize cancel button

Cancel button becomes Return if model isn’t dirty.
Fixed creating new users