adding active states for dropdown items, syncing edits from others