attach click handler after drop-down was created