Add click method for buttons

review1781002
Allow to pass field values to new

review1771002