This was written to address some issues I've experienced when working with a number of existing modal plugins