Add title to API action "expand". Closes #1759

Thanks @digitaltoast, neat idea.