added modal prototype.