added styled dialog for editing pupil name