Всем привет. Следующая проблемка. Есть всплывающее окно и под ним оверлей. При клике на оверлей он исчезает, а получается так что при клике на всплывающее окно оверлей также закрывается, хотя не должен.
	
<div class="black">
		<div class="popup"></div>
	</div>
.black {
	position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #000000ad;
    z-index: 10;
	display: none;
	cursor: pointer;
}
.popup {
	position: absolute;
    background: #fff;
    top: 20%;
    left: 0;
    right: 0;
    width: 40%;
    margin: auto;
    z-index: 99;
    cursor: default;
}
$('.black').click(function(){
		$(this).hide();
	});
	
	
	$('#add_akt').click(function(){
		$('.black').fadeIn(400, function(){
			$('.popup').show();
			$('.main_menu').hide();
			$('.popup').load('add_akt.php');
		});
		
		
	});