Cancel directory or file now set propper current widget.