In the gridder, right click on the element and choose "set html class and id". For "html class" enter:
ontop
(make sure u actually right-click on the stack element, not on one of the elements inside the stack)
Enter the custom css in "lay options" -> "custom css & html":
.ontop{
z-index: 99!important;
}