Button click inside Datagrid

I have my buttons in one column inside datagrid using ButtonCellRender.as.
On click of any button I have to get a popup
I know I can code the button click event in the .as file but how can I call this popup from .as file?
Thanks