added category, spinner in dialogs