Move modal templates to not cause errors when a visitor is not logged in.