Update user name to id cache on save

Should fix #1731
Metadata name consistency
Fix possible edge case
Add basic detachable post editing dialog

#1875
Merge branch 'post-edit-dialog'