working on options dialog