try fix linux compile
Revert "resize dialogs"

This reverts commit 974304a1ca9f5418771e82a039cd972459c86948.