Use WBackground and WFrame in dialogs.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>