Added a temporary solution to Modal to support stacked modals