Get parent anchors of clicked elements if defining a navigation link, correctly handle HTML document loads for Add New Series form