erp5_web_renderjs_ui: do not display submit and cancel if action is empty in form_dialog.

this is useful for an intermadiate dialog that does not require submit
button but still top 'cancel' link works.
6 jobs for feat/workflow_history_list_xml_diff
in 0 seconds, using 0 compute credits, and was queued for 0 seconds