also support deleting mouse selected model
Merge pull request #2903 from ZappoMan/deletemodel

also support deleting mouse selected model