Added initial modal implementation.