Fixed alignment in main dialog