Fix displaying messages during initialization

Was broken several commits ago.
Need to resize dialog before working with it.
Same approach is applied to other dialogs and menus.
Merge branch 'fix-messages-during-initialization'

Fix displaying messages during initialization

Was broken several commits ago.
Need to resize dialog before working with it.
Same approach is applied to other dialogs and menus.