Finally clean up modal inputs