Updates edit_account_test to properly close modal