Ok, I've solved the borderless dialog problem.
Preview is no longer modal. It can be closed by pressing close box, pressing ESC key or clicking on preview button again. Changes are on CVS.
BTW. Palette and all buttons have been moved into editor area. wxSmith tab is no longer in messages. Hope it will be better