added chooser dialogue