doAction function

Execute Action Created by a Widget