fixed a bug widget cannot close just added/moved toward tabs (not clearly...)