finished refactoring of Post module

- also fixed image list layout and deletion bugs in the metadata panel