Smart box to execute actions in gedit