updated the custom dialog to be able to disabled button stacking

Added a boolean variable to be able to toggle the button stacking for confirm/decline for cases where the application dev doesn't want buttons to stack