added modal to basic widget