Replicating shimModal plugin used on a production project.