Make OpenGL optional for the new parts dialog. #1731