fixed modal title bug
added timer functionality