final changes to modal