add dropdown menu and disable buttons if not needed.