Added popActionDialog function

Added popActionDialog function