Fixed format selection on drag-n-drop, added FancyBox plugin