Fixes #1355, #1289, action input inside dropdown