models are automatically expanded when they are collapsed and the user
tries to resize them