Ensure an open editor is removed when another tank is chosen.

This does mean that any changes in the editor will be lost. I'm
currently okay with this. The policymgr is supposed to be a
dangerous piece of rope. However if people don't like it should
be possible to do a quick compare and confirm.

fixes #64

(at least for now)