Added create new line, pop up dialogs