The widget opening was unified on MainWindows's method 'openElement' and the history is working fine.