Added dialogue boxes generation