adding history modal