made changes to modal