Fixed #23

Only one of each kind of dialog can now be open at any given time.

You can still open multiple dialogs for editing a costume and editing a block.