qt: record dialog queries while the interface is not ready
Since 7695e065 the dialog model is registered before the interface is ready in order to get early messages, though dialog queries that happened in between where lost. This patch allow to record dialogs queries before the interface is ready and deliver them once the interface can handle them.
fixes: #26111 (closed)