Implement value field in dialogs

And fix argument order for buttons with 4 fields
Fix hooks for absolute commands

They had not been reworked to the new dialog implementation