PreventDefault on post_btn click to keep the page from reloading.