better dialog layout