Index selection gui now gets a reference to the tool that opened it