Dialog box will appear on click of rename func.