did : created post popup and some refactoring