Adds ability to call refresh on the editor data with a callback