On the Fourier dimension and a modification