nit: `hideDialog = true` - need spaces