While working on the UI of my pet-projects, I finally came to the decision that small editing forms will be implemented in modal JavaScript dialogs, and large editing forms on a separate page. And the most frequently edited properties can be put into modal dialogs.