open query result records in dialogs