working usage-dialog in search