Cocoa dialog changes

Changing the way we run our Cocoa dialog so it works in After Effects.
The usual way of stopping a dialog, calling [NSApp stopModal], will
also kill the dialog that spawned our dialog.