improved change mail dialog