adding popup open close should show as an injectable service