pothos-gui: commit panel changes on replace event