synchronous loading in dialogs