making it so that only one form or results dic is visible at any time