added box creation on double click.