added autofilling for the modify event GUI