adds a loader when run graph is pressed
searches by regex instead of substring