place the load project button and dialog back to the parent js file