nit: `showDialog`