Removed tinybox2 and added own modal implementation