cleaning up account details modal