fixed formating bug and added tags to input dialog