Changed Dialog style to 3, added support for cancelling parallel operations.