Update modal.js

Add option to show non-modal popups