fixed new post modal bug