Fixes #636 Login modal can't be used twice

I ended up adding an option to the modal plugin so that we can tell the
modal plugin not to delete the element (this last point was added to the
plugin some time ago to allow for multi-modal with same IDs).