Changed to an open/close moded of stack interaction.