Changed system for handling whether a detail page is new.

* This will make it possible to predefine values when adding FROM a detail page.