Improved docs and edit dialog layouts