fixed firefox bug of being unable to open select element - restricted div.character on click handler to only run if event target is not a button or select element