some work on ui. modal functionality
implement submit post functionality