add fb post window closing when ajax fail