Create overlapping modals

Using this answer from StackOverflow.