class based click handler added in edit_stage.html for preview feature