added option to use custom id for button

useful for buttons with javascript functionality