fixed bug in slider closing from the DocWinUI