Forbid using dialog module before app is ready