trds: improve dialogs and menu popups