Send button value with form data when pressing a button of type 'submit'

When not using jQuery to submit a form, if you press a button of type="submit", button's __value__ attribute will be passed with other form elements. I think the same should happen when confirming form submission using PopConfirm. There are situations where forms include multiple buttons with same name but different values and logic of code which handles form data depends on which button is pressed.