Adding history modal