<$action-createtiddler $basetitle={{!!project_name_from_modal}}tags= 'Projects'$savetitle="!!project_home_page_name_created"$overwrite='yes'/>\define project_home_page_name() {{$(calling_page)$!!project_name_from_modal}}
<$action-createtiddler $basetitle=<<project_home_page_name>>tags= 'Projects'text='{{$:/newproject}}'$savetitle="!!project_home_page_name_created"$overwrite='yes'/>\define project_home_page_name() {{!!project_name_from_modal}}
<$action-createtiddler$basetitle=<<project_home_page_name>>tags= 'Projects'text='{{$:/newproject}}'$savetitle="!!project_home_page_name_created"$overwrite='yes'/>tags= 'Projects'
https://github.com/saqimtiaz/streams/blob/master/plugins/streams/widgets/action-withinput.js
I have a modal version somewhere as well that mostly works, would need to dig it up. IIRC the only issue was the input field in the modal didn't receive focus automatically when the modal was opened.
Actually after posting it, I tried writing another button and called the same action from within it and it worked.
So perhaps it was some sort of sequencing issue...it was 2 AM here at the time and I was too tired to bother anymore but will look into it today.
Regards,
Ankit