re-align dialog