problem with carousel and pop up window

I have a carousel with 2 views and 2 html buttons. when i click on the one button i direct to each view based on what view is currently visible. when i click the other button i want to show a pop up window. if i click the first button and change the view and then click the second the pop doesn’t show up. if i don’t change the view everything works fine.

Hey @KateMpoy, unfortunately, I couldn’t reproduce the issue you are having (https://snippet.webix.com/6vhocfrg - window, https://snippet.webix.com/kpf77goo - popup, same with HTML buttons - https://snippet.webix.com/136akv18). Could you please provide a snippet with your problematic code via the snippet tool?

I found the solution thanks! Is there any way I can prevent the default hide of the pop up when i click outside of it?