Simple modal plugin base functionality