fix dropbutton to allow it to peform the same action multiple times in a row