Hi Sunny,
Open your subVI,
1. go to File->Vi Properties (or Ctrl+I)
2. choose Window Appearance category
3. choose Customize
4. check "Show Front Panel When Called" (and "Close Afterwards ..")
5. save the VI, close it and try again.
Let us know if it's OK ...