fix dropdown menu for buttons too