I am creating a webpage with few subpages. I want to create two popups for signing in and signing up, but I don't know how to do this without copying code through subpages. I think every popup should have a separate view and controller.
Am I right? What is the best practice to do it?