made it so whole table is hidden while form is visible