Update modal.js

No buggy "cache" for modal with remote source.
There is a bug when show modal via data-api for different elements with different remote URLs:
modal "caches" content and shows content for the first clicked element (and first modal initialization).