added option to use custom id for button

usefull for buttons with javascript functionality