Retirement tax questions

If you had put 4500 in Roth you would still be able to make a traditional contribution of 1000, but no more.
So You should encounter a separate question for the amount of Roth contributed in 2017.