added update of models if search result keys are deleted
fixed bug in copyKeyCommand that prevented unlimited undos/redos