fix alignment in dialog