Link Config dialog to its button + fix some shit