save and restore message viewer geometry
postgres provider: remove attribute in reverse order (fixes #8142)