accept **kw so that this script can be used as a dialog action
specify portal_types in listbox

usually generated SQL query can use a better index this way
fix a typo in workflow name