SimpleModal version of the old selection restore callback, closes #2