A purely javascript modal dialog to avoid any possible css conflicts.