State tax filing

Maine Dept of Revenue mentions form REW-1-1040 for Real Estate withholding for non-residents. Do I put amount paid to Maine on that form instead of in State Estimates? If I put amount in State Estimates, wouldn't that not then generate the correct form, REW-1-1040?