make dialog button order consistent (dict to list of tuples).
make more buttons of consistent ordering