Properly clean up after tablet-ui mod generation.