Add option handling with defaults. Add and use default popup options.