Added view history modal