I use Fancybox + Ajax on my website to display form to send instant messages. Sometimes users have javascript disabled or they use right click on "Send message" to open form in a new window/tab. When they do it, Ajax content opens without any formatting (css file and header/footer is not included) and they can not send message.
$(".sendmessage").fancybox({
'autoDimensions' : true,
'transitionIn' : 'none',
'transitionOut' : 'none',
'autoScale' : false,
'onComplete': function() {$("#fancybox-inner").css({'overflow-x':'hidden'});},
'ajax' : {
cache : false
}});
<a class="sendmessage" href="/messageform.php">Send message</a>