Check action is enabled before showing action form or processing GETs or POSTs.

Currently actions are checked for being enabled just before being performed (which is  good) but users could do with feedback a little earlier (so they don't fill out forms or get asked for confirmations).