form should open before table