Check to see if the addDirectoryButton will be outside the form when adding one, hide if it will