displays new folder only when post is successful