feat(viewer) : auto select all for dialog