%[if %("%id=trigger%" == "button_click")% ]% %%[[if edit]]%%

Place a suitable button stack in this drop zone:

%%[[endif]]%%
%slice%
%[endif]% %[if %("%id=trigger%" == "custom")% ]% %%[[if edit]]%%

Trigger this alert of confirm dialogue using alertConfirmStack%id=function_num%();

%%[[endif]]%% %[endif]% %%[[if edit]]%%

Alert and confirm dialogue popups only work in a normal web browser. They will not show in RapidWeaver preview.

%%[[endif]]%%