actionstate now closes when clicking somewhere. selection no longer clears full selection on rmb