Expanding upon @QuangHoang's hint.
To show that $A'$ is dense in the unit square, it suffices to show that the image of the map $f:\mathbb{R} \to \mathbb{R}^2$ defined by $f(t) = (\alpha t \pmod 1,\beta t \pmod 1)$ is dense in $[0,1] \times [0,1]$. This is because $\mathbb{Q}$ is dense in $\mathbb{R}$, so $f(\mathbb{Q})$ is dense in $f(\mathbb{R})$, which is dense in $[0,1] \times [0,1]$ as per our claim. This implies that $f(\mathbb{Q})$ is dense in $[0,1] \times [0,1]$ and $f(\mathbb{Q}) = A'$ so we are done.
The proof that $f(\mathbb{R})$ is dense in $[0,1] \times [0,1]$ can be seen here.
Showing that $A$ is dense in $[0,1] \times [0,1]$ takes a bit more work. A proof can be found here.