make sure the selection and changes are saved when applying css classes