clean up the split modal