fix History.back not called when closing post details dialog