#1150 Check if model in edit mode