Fix line format
Remove button that are no longer required from dialogs