Suppose we have quadrilateral $ABCD$ where $m\angle A = m\angle B = 90^\circ$ and $AB \cong CD$. Is this figure always a rectangle? If not, can someone give a counterexample?
I tried drawing the diagonal $BD$ and tried to show $\triangle BDC \cong \triangle DBA$. We are already given $\overline{AB} \cong \overline{DC}$, and the triangles share side $\overline{DB}$.
We know that $AD \parallel BC$ because $m\angle A + m\angle ABC = 180^\circ$. This means $\angle DBC \cong \angle BDA$. But, unfortunately, we still don't know $\triangle BDC \cong \triangle DBA$ because the angle isn't between the two sides that we know are equal.

Even though I can't prove it, I still can't find a counterexample.

Let $D'$ be the point such that $ABCD'$ is a rectangle. Then $D'$ is on $AD$ because $\angle A$ is right. From $CD'=AB$ (hold in rectangle) and $AB=CD$ (given), we see that $CDD'$ is an isosceles triangle. Its angle at $D$ is right (it is the angle between $CD$ and the line $AC$), hence the angle at $D$ is also right. Thus three out of four angles in $ABCD$ are right, hence they are all right angles