Prevent model creation when something is selected (workaround for #3909).