Fixed display issue on dialog actions